<template>
	<view class="content">
		<view class="blac"></view>
		<view class="viewall" >
			<view class="vv"></view>
			<view class="txt">速算</view>
			<view class="viewtop">
				<view class="logo">
					 <image @tap="go('/pages/玛钢/dlplss/dlplss')"  class="img"  src="/static/todo/1.png"></image>
					 <text class="tt1">配料同材质</text>
				</view>
				
				<view class="logo">
					<image class="img" @tap="go('/pages/玛钢/dlbtczss/dlbtczss')"  src="/static/todo/1.png"></image>
					<text class="tt1">配料不同材质</text>
				</view>
				<view class="logo">
					<image class="img" @tap="go('/pages/玛钢/dlcfss/dlcfss')"  src="/static/todo/2.png"></image>
					<text class="tt1">成分调整</text>
				</view>
				
				<view class="logo">
					<image class="img" @tap="go('/pages/玛钢/dljtss/dljtss')"  src="/static/todo/3.png"></image>
					<text class="tt1">降碳</text>
				</view>
				
				
				<view class="logo">
				</view>
				<view class="logo">
				</view>
			</view>
			
		</view>
		<view class="viewall">
			<view class="vv"></view>
			<view class="txt">   标准维护</view>
			<view class="viewtop">
				<view class="logo">
						 <image @tap="go('/pages/玛钢/dlplss/dlplmain')"  class="img"  src="/static/todo/11.png"></image>
						 <text class="tt1">配料同材质</text>
				</view>
				
				<view class="logo">
						<image class="img" @tap="go('/pages/玛钢/dlbtczss/dlbtczssmain')"  src="/static/todo/11.png"></image>
						<text class="tt1">配料不同材质</text>
				</view>
				
				<view class="logo">
						<image class="img" @tap="go('/pages/玛钢/dlcfss/dlcfssmain')"  src="/static/todo/22.png"></image>
						<text class="tt1">成分调整</text>
				</view>
				
				<view class="logo">
						<image class="img" @tap="go('/pages/玛钢/dljtss/dljtssmain')"  src="/static/todo/33.png"></image>
						<text class="tt1">铁水降碳</text>
				</view>
				
				
				<view class="logo">
				</view>
				<view class="logo">
				</view>
				
			</view>
			
		</view>
		<!-- <view class="uni-btn-v" style="position: absolute;left: 15%;width: 70%;margin-top: 30px;">
			<button type="primary" style="background-color: lightblue;" @click="unlogin">退出登录</button>
		</view> -->
	
			
	<view class="">
	</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello',
				deptId : uni.getStorageSync("deptId")
			}
		},
		mounted() {
			console.log(this.deptId,'111111');
		},
		onLoad() {

		},
		onShow:function(e){
			this.$verify.verify();
		},
		// computed: {
		// 	getdeptid() {
		// 		return this.deptid
		// 	}
		// },
		methods: {
			unlogin(){
				var _this = this;
				uni.setStorageSync("user",null);
				// _this.$common.navigateTo('/pages/login/login');
				uni.reLaunch({ url: '/pages/login/login' })
				
			},
			go(url){
				if(url){
					uni.navigateTo({
					    url:url
					});
				}else{
					uni.navigateTo({
					    url:'/pages/玛钢/dlplss/dlplss'
					});
				}
			}
		}
	}
</script>

<style>
	text{
		text-align: right;
	}
	.tt1{
		font-size: 17px;
	}
	.blac{
		height: 1px;
		width: 100%;
		background-color: #F3F4F6;
		
	}
	/* 速算模块维护模块 */
	.viewall{
		background: #FFFFFF;
		margin-top: 20px;
		border-radius: 4px;
		left: 9px;
		top: 74px;
		width: 356rpx;
		height: 650rpx;
		border-radius: 10px;
		opacity: 1;
		width: 100%;
	}
	/* 图标模块 */
	.content {
		height: 800px;
		width: 100%;
		background: #F2F3F5;
		background-color: #F3F4F6;
		text-align: center;
		
		
	}
	.viewtop{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
		margin-top: -45px;
		
	}
	.logo {
		height: 170rpx;
		width: 170rpx;
		margin-left: 3%;
		margin-right: 3%;
		
		margin-top: 50px;
	}
	.img{
		width: 100%;
		height: 100%;
	}
	
	.text-area {
		display: flex;
		justify-content: center;
	}
	
	.txt{
		left: 20px;
		width: 60px;
		height: 17px;
		text-align: left;
		opacity: 1;
		font-family: Source Han Sans;
		font-size: 14px;
		font-weight: 350;
		line-height: 16.41px;
		letter-spacing: 0px;
		color: #939AA3;
		margin-top: 12px;
		margin-left: 12px;
	}
	.vv{
		height: 1px;
		
	}
</style>
